import matplotlib.pyplot as plt
import numpy as np

PATH = "loss.npy"
with open(PATH,"rb") as fp:
    loss = np.load(fp,allow_pickle=True)
plt.scatter(x = range(len(loss)),y = loss)
plt.show()